<template>
  <main class="wss-container">
    <div class="label-box-content">
      <el-row :gutter="20" type="flex">
        <el-col :span="5">
          <NewCard title="专家名单">
            <div class="leftMenu">
              <div class="leftSearch">
                <el-select
                  @change="selectChangeFn"
                  v-model="filterText"
                  filterable
                  clearable
                  placeholder="请选择"
                >
                  <el-option value="0" label="未审核"></el-option>
                  <el-option value="1" label="审核成功"></el-option>
                  <el-option value="2" label="审核失败"></el-option>
                </el-select>
              </div>
              <el-menu class="el-menu-vertical-demo" ref="elMenu">
                <el-menu-item
                  v-for="(item, index) in flist"
                  :key="item.id"
                  :index="index.toString()"
                  @click="selectId(item.id)"
                >
                  <span slot="title">
                    {{ item.name }}
                    <span class="auditTxt">
                      <i
                        v-if="item.status === '1' ? true : false"
                        class="el-icon-success"
                      ></i>
                      <i
                        v-else-if="item.status === '2' ? true : false"
                        class="el-icon-error"
                      ></i>
                      <i v-else class="el-icon-warning"></i>
                    </span>
                  </span>
                </el-menu-item>
              </el-menu>
            </div>
          </NewCard>
        </el-col>
        <el-col :span="14">
          <div class="infoExpert">
            <NewCard title="专家信息">
              <div class="perInfo">
                <el-row>
                  <el-col :span="24">
                    <div class="expertInfoImg">
                      <el-avatar
                        :size="70"
                        src="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png"
                        v-if="
                          selectExpertInfo.avatar == '' ||
                          selectExpertInfo.avatar == undefined
                        "
                      ></el-avatar>
                      <img :src="selectExpertInfo.avatar" alt="" v-else />
                      <h1>
                        {{ selectExpertInfo.name
                        }}<span>（{{ selectExpertInfo.expertType }}）</span>
                      </h1>
                    </div>
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="基本信息" :column="1">
                      <el-descriptions-item label="性别">
                        <template v-if="selectExpertInfo.sex == '0'"
                          >男</template
                        >
                        <template v-if="selectExpertInfo.sex == '1'"
                          >女</template
                        >
                        <template v-if="selectExpertInfo.sex == '2'"
                          >未知</template
                        >
                      </el-descriptions-item>
                      <el-descriptions-item label="生日">{{
                        selectExpertInfo.birthday
                      }}</el-descriptions-item>
                      <el-descriptions-item label="所在地区">
                        {{getProvince}}{{getCity}}
                      </el-descriptions-item>
                    </el-descriptions>
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="擅长领域"></el-descriptions>
                    <el-tag
                      v-for="(skilled, index) in selectExpertInfo.skilledList"
                      :key="index.toString()"
                      style="margin-right: 10px"
                      >{{ skilled.name }}</el-tag
                    >
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="个人证书"></el-descriptions>
                    <el-col
                      :span="22"
                      v-for="(
                        Cert, index
                      ) in selectExpertInfo.expertCertificateList"
                      :key="index.toString()"
                    >
                      <h2 class="certTitle">证书名称：{{ Cert.name }}</h2>
                      <p>证书编号：{{ Cert.no }}</p>
                    </el-col>
                  </el-col>

                  <el-col :span="24">
                    <el-descriptions title="工作经历"></el-descriptions>

                    <el-col :span="23">
                      <div
                        class="workExp"
                        v-for="(work, index) in selectExpertInfo.expertWorkList"
                        :key="index.toString()"
                      >
                        <h2>
                          {{ work.company }}<span>{{ work.postion }}</span>
                        </h2>
                        <i>{{ work.startTime }} ~ {{ work.endTime }}</i>
                        <ul>
                          <li>{{ work.job }}</li>
                        </ul>
                      </div>
                    </el-col>
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="教育经历"></el-descriptions>
                    <div
                      class="workExp"
                      v-for="(
                        educa, index
                      ) in selectExpertInfo.expertEducationList"
                      :key="index.toString()"
                    >
                      <h2>
                        {{ educa.school }}
                        <span>
                          <template v-if="educa.type == '1'">专科</template>
                          <template v-else-if="educa.type == '2'"
                            >本科</template
                          >
                          <template v-else-if="educa.type == '3'"
                            >硕士</template
                          >
                          <template v-else>博士</template>
                        </span>
                        <span>{{ educa.major }}</span>
                      </h2>
                      <i>{{ educa.startTime }} ~ {{ educa.endTime }}</i>
                    </div>
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="个人描述"></el-descriptions>
                    <el-col :span="23">
                      <p class="historyInfo">
                        {{ selectExpertInfo.describable }}
                      </p>
                    </el-col>
                  </el-col>
                  <el-col :span="24">
                    <el-descriptions title="相关附件"></el-descriptions>
                    <p
                      v-for="(file, index) in selectExpertInfo.expertFileList"
                      :key="index.toString()"
                    >
                      <a :href="file.url" target="_blank">
                        <i class="el-icon-s-order"></i> {{ file.name }}
                      </a>
                    </p>
                  </el-col>
                </el-row>
              </div>
            </NewCard>
          </div>
        </el-col>
        <el-col :span="5">
          <NewCard title="专家审核">
            <div class="expertRev">
              <el-form
                ref="form"
                :model="auditResult"
                :rules="rules"
                label-position="top"
                v-show="currentStatus"
              >
                <el-form-item
                  label="审核结果"
                  style="margin-bottom: 15px"
                  required
                  prop="status"
                >
                  <el-radio-group
                    @change="auditResultStatusChange"
                    v-model="auditResult.status"
                    required
                  >
                    <el-radio label="1">通过</el-radio>
                    <el-radio label="2">失败</el-radio>
                  </el-radio-group>
                </el-form-item>
                <el-form-item
                  prop="permission"
                  label="评论"
                  v-if="auditResult.status == '1'"
                  required
                >
                  <el-radio-group v-model="auditResult.permission">
                    <el-radio label="0">是</el-radio>
                    <el-radio label="1">否</el-radio>
                  </el-radio-group>
                </el-form-item>
                <el-form-item
                  prop="officeId"
                  label="职称"
                  v-if="auditResult.status == '1'"
                  required
                >
                  <el-select
                    v-model="auditResult.officeId"
                    placeholder="请选择职称"
                  >
                    <el-option
                      :value="office.id"
                      :label="office.name"
                      v-for="(office, index) in officeList"
                      :key="index.toString()"
                    ></el-option>
                  </el-select>
                </el-form-item>

                <el-form-item
                  prop="level"
                  label="等级"
                  v-if="auditResult.status == '1'"
                  required
                >
                  <el-select
                    v-model="auditResult.level"
                    placeholder="请选择等级"
                  >
                    <el-option
                      :value="level.id"
                      :label="level.levelName"
                      v-for="(level, index) in levelList"
                      :key="index.toString()"
                    ></el-option>
                  </el-select>
                </el-form-item>
                <el-form-item
                  prop="remark"
                  label="审核通知"
                  class="opinion"
                  v-if="auditResult.status == '1'"
                >
                  <el-select
                    v-model="auditResult.remark"
                    placeholder="请选择内容"
                    @change="changeMessage"
                  >
                    <el-option
                      :value="message.id"
                      :label="message.title"
                      v-for="(message, index) in messageTemp"
                      :key="index.toString()"
                    ></el-option>
                  </el-select>
                  <el-input
                    type="textarea"
                    :rows="4"
                    placeholder="审核通知内容"
                    v-model="getMessage"
                  >
                  </el-input>
                </el-form-item>
                <!-- <el-form-item
                  prop="type"
                  label="编辑状态"
                  class="opinion"
                  v-if="auditResult.status == '0'"
                >
                  <el-radio v-model="auditResult.type" label="1">编辑</el-radio>
                  <el-radio v-model="auditResult.type" label="2">咨询</el-radio>
                </el-form-item> -->
                <!-- <el-form-item
                  v-if="auditResult.status == '0' && auditResult.type == 2"
                  prop="type"
                  label="日限"
                  class="opinion"
                >
                  <el-input
                    v-for="(skilledItem, index) in selectExpertInfo.skilledList"
                    :key="skilledItem.id"
                    placeholder="请输入日限"
                    v-model="auditResult.skilledList[index].quota"
                  >
                    <template slot="prepend">{{ skilledItem.name }}</template>
                  </el-input>
                </el-form-item> -->

                <el-form-item
                  prop="remark"
                  label="审核意见"
                  class="opinion"
                  v-if="auditResult.status == '2'"
                >
                  <el-select
                    v-model="auditResult.remark"
                    placeholder="请选择内容"
                    @change="changeRemark"
                  >
                    <el-option
                      :value="message.id"
                      :label="message.title"
                      v-for="(message, index) in loseTemp"
                      :key="index.toString()"
                    ></el-option>
                  </el-select>
                  <el-input
                    type="textarea"
                    :rows="4"
                    placeholder="审核意见内容"
                    v-model="getRemark"
                  >
                  </el-input>
                </el-form-item>
                <el-form-item>
                  <el-button type="primary" @click="expertEdit">确认</el-button>
                </el-form-item>
              </el-form>
            </div>
          </NewCard>
        </el-col>
      </el-row>
    </div>
  </main>
</template>

<script>
//引入省市区数据的插件
import { CodeToText } from "element-china-area-data";
import NewCard from "../../../../components/newCard.vue";
import { getSkilledSelectSkilledApi } from "@/wss/newApi_3-24/work/skilled.js";
import {
  getExpertListApi,
  getExpertInfoApi,
  getExpertOfficeListApi,
  getUserLevelListApi,
  getExpertEditApi,
  getMessageTempListApi,
} from "@/wss/newApi_3-24/work/expert.js";
export default {
  name: "expertCert",
  components: { NewCard },
  data() {
    return {
      // 当前的状态
      currentStatus: true,
      //专家名单 未审核 审核成功 审核失败
      filterText: "0",
      // 分页参数
      pageing: { pageNum: 1, pageSize: 50, status: "0" },
      //获取的专家列表数据
      expertList: [],

      value: new Date(),
      //左侧菜单高亮
      highlight: true,
      //默认激活第一个
      activeMenu: "1",
      activeList: "1",

      //当前选中专家的id
      selectExpertId: "",
      //当前选中专家的个人信息
      selectExpertInfo: {},
      //当前选中专家的typeId
      typeId:'',

      //审核结果的数据收集
      auditResult: {
        skilledList: [],
        type: "1",
        // name: "", //专家名字
        // sex: "", //性别 0男 1女 2:未知s
        status: "0", //选择的是通过还是失败 状态 0是专家(通过) 1认证中 2认证失败(失败)
        permission: "0", //是否评论
        officeId: "", //职称id
        typeId: "", //类型id
        level: "", //专家等级
        remark: "", //审核通知
      },
      //表单验证
      rules: {
        remark: [
          {
            required: true,
            message: "请选择审核结果",
            trigger: "change",
          },
        ],
        permission: [
          {
            required: true,
            message: "请选择是否评论",
            trigger: "change",
          },
        ],
        officeId: [
          {
            required: true,
            message: "请选择职称",
            trigger: "change",
          },
        ],
        level: [
          {
            required: true,
            message: "请选择等级",
            trigger: "change",
          },
        ],
        advice: [
          {
            required: true,
            message: "请填写审核通知",
            trigger: "change",
          },
        ],
        type: [
          {
            required: true,
            message: "请选择类型",
            trigger: "change",
          },
        ],
        opinion: [
          {
            required: true,
            message: "请选择审核意见",
            trigger: "change",
          },
        ],
      },
      //职称的分页参数
      officePage: { pageNum: 1, pageSize: 50, type: 2 },
      //获取的专家职称列表数据
      officeList: [],
      //获取的专家类型列表数据
      officeTypeList: [],
      //获取的专家等级列表数据
      levelList: [],

      // 审核通知分页
      messagePageing: { pageNum: 1, pageSize: 50, type: "6" },
      // 审核失败分页
      losePageing: { pageNum: 1, pageSize: 50, type: "5" },
      //获取的审核通知模板
      messageTemp: {},
      //获取的审核失败模板
      loseTemp: {},
      //选择失败的审核模板
      getRemark: "",
      //选择成功的通知模板
      getMessage:"",
      // 当前选中省份的code
      provinceCode:'',
    };
  },
  mounted() {
    this.getExpertListFn(); //获取专家列表
    this.getExpertOfficeTypeList(); //获取专家类型列表数据
    this.getUserLevelList(); //获取专家等级列表
    this.getMessageTempList(); //专家审核通知模板获取
    this.getLoseTempList();//专家审核失败模板获取
  },
  methods: {
    // 状态发生改变
    auditResultStatusChange(item) {
      this.getRemark = "";
    },
    // 下拉
    selectChangeFn(val) {
      const _this = this;
      _this.pageing.status = val;
      val == 1 || val == 2
        ? (_this.currentStatus = false)
        : (_this.currentStatus = true);
      _this.selectExpertInfo = {};

      _this.getExpertListFn();
      // console.log(val, "行吧");
    },
    //当前选中专家的信息
    selectId(id) {
      this.selectExpertId = id;
      this.getExpertInfoFn(); //点击专家获取专家认证信息
      this.getExpertOfficeList(); //获取专家职称列表数据
    },

    //确认提交按钮
    async expertEdit() {
      await this.$refs.form.validate();
      //专家认证提交
      this.getExpertEdit();
    },

    //获取当前选中的审核失败模板
    changeRemark(id) {
      this.getRemark = this.loseTemp.find((v) => id == v.id).title;
    },
    //获取当前选中的审核通知模板
    changeMessage(id){
      this.getMessage = this.messageTemp.find((v) => id == v.id).title;
    },

    //获取专家列表
    async getExpertListFn() {
      let result = await getExpertListApi(this.pageing);
      if (result.code != 200) return;
      // console.log(result);
      this.pageing.total = result.total;
      this.expertList = result.rows;
    },
    // 点击专家获取专家认证信息
    async getExpertInfoFn() {
      let { selectExpertId } = this;
      let result = await getExpertInfoApi(selectExpertId);
      if (result.code != 200) return;
      //   console.log(result.data);
      this.selectExpertInfo = result.data;
      //获取专家的typeId
      this.typeId=this.selectExpertInfo.typeId
      // 计算省份的code
      this.provinceCode = (this.selectExpertInfo.cityCode).substring(0,2) +'0000'

      this.auditResult.skilledList = this.selectExpertInfo.skilledList;
      // console.log(this.auditResult.skilledList);
    },
    //获取专家职称列表数据
    async getExpertOfficeList() {
      let officePage =this.officePage
      officePage.type = 2;
      let result = await getExpertOfficeListApi(officePage);
      if (result.code != 200) return;
      // console.log(result);
      //专家类型的Id 用于过滤专家职称
      setTimeout(()=>{
        let typeId = this.typeId
        let list = result.rows
        this.officeList = list.filter(item=>item.pid===typeId);
      },200)
    },
    //获取专家类型列表数据
    async getExpertOfficeTypeList() {
      let officePage = this.officePage;
      officePage.type = 1;
      let result = await getExpertOfficeListApi(this.officePage);
      if (result.code != 200) return;
      // console.log(result);
      this.officeTypeList = result.rows;
    },
    //获取专家等级列表
    async getUserLevelList() {
      let result = await getUserLevelListApi();
      // console.log(result);
      this.levelList = result.rows;
    },
    //专家审核通知模板获取
    async getMessageTempList() {
      let result = await getMessageTempListApi(this.messagePageing);
      // console.log(result.rows);
      this.messageTemp = result.rows;
    },
    //专家审核失败模板获取
    async getLoseTempList() {
      let result = await getMessageTempListApi(this.losePageing);
      // console.log(result.rows);
      this.loseTemp = result.rows;
    },
    //专家认证提交
    async getExpertEdit() {
      let auditResult = this.auditResult;
      let formDate = new FormData();
      //       auditResult ={
      //         name:'',//专家名字
      //         sex:'',//性别 0男 1女 2:未知s
      //         status:"0",//选择的是通过还是失败 状态 0是专家(通过) 1认证中 2认证失败(失败)
      //         permission:'0',//是否评论
      //         officeId:'',//职称id
      //         typeId:'',//类型id
      //         level:'',//专家等级
      //         remark:'',//审核通知
      //     },
      //   console.log(formDate);

      let selectExpertInfo = this.selectExpertInfo;

      for (const key in selectExpertInfo) {
        // console.log(typeof selectExpertInfo[key] == "object");
        if (typeof selectExpertInfo[key] == "object") {
          // console.log(selectExpertInfo[key], key);
          if (key == "skilledList") {
            selectExpertInfo[key].forEach((item, index) => {
              formDate.append(`${key}[${index}].id`, item.id);

              formDate.append(`${key}[${index}].name`, item.name);
            });
          } else if (key == "expertCertificateList") {
            selectExpertInfo[key].forEach((item, index) => {
              formDate.append(`${key}[${index}].certificateId`,item.id);
              formDate.append(`${key}[${index}].createBy`, item.createBy);
              formDate.append(`${key}[${index}].createTime`, item.createTime);
              formDate.append(`${key}[${index}].expertId`, item.expertId);
              formDate.append(`${key}[${index}].id`, item.id);
              formDate.append(`${key}[${index}].name`, item.name);
              formDate.append(`${key}[${index}].no`, item.no);
              formDate.append(`${key}[${index}].isShow`, item.isShow);
            });
          } else if (key == "expertWorkList") {
            selectExpertInfo[key].forEach((item, index) => {
              formDate.append(`${key}[${index}].company`, item.company);
              formDate.append(`${key}[${index}].endTime`, item.endTime);
              formDate.append(`${key}[${index}].expertId`, item.expertId);
              formDate.append(`${key}[${index}].job`, item.job);
              formDate.append(`${key}[${index}].postion`, item.postion);
              formDate.append(`${key}[${index}].startTime`, item.startTime);
            });
          } else if (key == "expertEducationList") {
            selectExpertInfo[key].forEach((item, index) => {
              formDate.append(`${key}[${index}].endTime`, item.endTime);
              formDate.append(`${key}[${index}].major`, item.major);
              formDate.append(`${key}[${index}].expertId`, item.expertId);
              formDate.append(`${key}[${index}].school`, item.school);
              formDate.append(`${key}[${index}].startTime`, item.startTime);
              formDate.append(`${key}[${index}].type`, item.type);
              formDate.append(`${key}[${index}].userId`, item.userId);
            });
          } else if (key == "expertFileList") {
            selectExpertInfo[key].forEach((item, index) => {
              formDate.append(`${key}[${index}].expertId`, item.expertId);
              formDate.append(`${key}[${index}].id`, item.id);
              formDate.append(`${key}[${index}].name`, item.name);
              formDate.append(`${key}[${index}].url`, item.url);
            });
          }

          // formDate.set(key, JSON.stringify(selectExpertInfo[key]), "blob");
          // formDate.set(key, selectExpertInfo[key]);
        } else {
          formDate.set(key, selectExpertInfo[key]);
        }
      }
      formDate.set("avatar", selectExpertInfo.avatar);
      formDate.set("name", selectExpertInfo.name);
      formDate.set("sex", selectExpertInfo.sex);
      formDate.set("status", auditResult.status);
      formDate.set("permission", auditResult.permission);
      formDate.set("officeId", auditResult.officeId);
      // formDate.set("type", auditResult.type);
      formDate.set("level", auditResult.level);
      formDate.set("remark", auditResult.remark);

      // formDate.append("files", []);
      // console.log(formDate.get("level"));
      // formDate.forEach((item) => {
      //   console.log(item);
      // });
      // formDate.getAll((item) => {
      //   console.log(item);
      // });

      let result = await getExpertEditApi(formDate);

      if (result.code == 200) {
        this.$message({
          message: "提交成功",
          type: "success",
        });
        this.getExpertListFn();
      } else {
        // this.$message.error("提交失败");
        return Promise.reject(result.message);
      }
    },
  },
  computed: {
    //左侧下拉框筛选
    flist() {
      return this.expertList.filter((item) =>
        JSON.stringify(item.status).includes(this.filterText)
      );
    },
    //获得省份
    getProvince(){
      return CodeToText[this.provinceCode]
    },
    //获得城市
    getCity(){
      return CodeToText[this.selectExpertInfo.cityCode]
    },
  },
};
</script>

<style scoped>
.label-box-content {
  height: 100%;
}
.el-input-number--mini {
  width: 100px;
}
.el-card >>> .top {
  border-bottom: 0;
  padding-top: 0;
}
.el-card >>> .el-card__body {
  position: relative;
  height: 100%;
}
.el-card >>> .el-card__body > div {
  padding-top: 0 !important;
  height: 92%;
  overflow-y: auto;
}
.corrExpert .el-card >>> .el-card__body > div {
  overflow-y: initial;
}

.el-row,
.el-card {
  height: 100%;
  margin-bottom: 0;
}
.label-box-content >>> h1 {
  margin: 0;
  padding: 20px 0 15px 0;
  border-bottom: 1px solid #e6ebf5;
}
.label-box-content >>> .top::after {
  height: 0;
}

/* 左侧菜单 */
.leftMenu {
  margin-top: 20px;
}
.el-menu {
  border-right: 0;
}
.el-menu-item {
  height: 44px;
  line-height: 44px;
  border-radius: 4px;
  padding: 0 10px !important;
}
.el-menu-item.is-active {
  background-color: #1890ff;
  color: #fff;
}
.el-menu-item > span {
  display: flex;
  justify-content: space-between;
  align-content: center;
}
.el-menu-item > span .auditTxt {
  font-size: 13px;
  color: #666;
}
.el-menu-item.is-active .auditTxt {
  color: #eee;
}
.leftMenu .leftSearch {
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 9;
}
.leftMenu >>> .el-input--medium .el-input__inner {
  width: 95px;
  padding: 0 8px;
}
.el-menu-item:hover .el-icon-success {
  color: #67c23a;
}
.el-menu-item:hover .el-icon-warning {
  color: #ffba00;
}
/* 左侧菜单 end*/

/* 中间个人信息 */
.infoExpert {
  height: 100%;
}
.el-col-24 {
  margin-top: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6ebf5;
}
.expertInfoImg {
  display: flex;
  align-items: center;
}
.expertInfoImg h1 {
  border-bottom: 0;
}
.expertInfoImg h1 > span {
  font-weight: 400;
  font-size: 16px;
  color: #7d7d7d;
}
.expertInfoImg img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}
.expertInfoImg h1 {
  font-weight: bold;
  font-size: 20px;
  margin-left: 20px;
}
.el-descriptions-item__label {
  margin-right: 0;
}
.perInfo >>> .el-descriptions__title {
  font-size: 18px;
}
.el-image {
  width: 250px;
  height: 170px;
  border-radius: 10px;
}
.certTitle {
  font-size: 20px;
}
.el-checkbox
  >>> .el-checkbox__input.is-disabled.is-checked
  .el-checkbox__inner {
  background-color: #e8f4ff;
  border-color: #6c95f4;
}
.el-checkbox
  >>> .el-checkbox__input.is-disabled.is-checked
  .el-checkbox__inner::after {
  border-color: #1c91ff;
}
.el-checkbox >>> .el-checkbox__input.is-disabled + span.el-checkbox__label {
  color: #666;
}

.workExp {
  margin-top: 15px;
}
.workExp h2 {
  margin-top: 0;
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: bold;
}
.workExp h2 > span {
  font-size: 14px;
  font-weight: 400;
  margin-left: 10px;
  color: #7d7d7d;
}
.workExp i {
  color: #7d7d7d;
  font-size: 13px;
}
.workExp ol {
  padding-left: 20px;
  margin-top: 10px;
}
.workExp ul {
  padding: 0;
}
.workExp li {
  font-size: 14px;
  line-height: 28px;
  list-style: none;
}
.historyInfo {
  margin-top: 0;
  font-size: 14px;
  line-height: 28px;
}
/* 中间个人信息end */

/* 专家审核 样式 */
.el-select {
  width: 100%;
}
.opinion {
  position: relative;
}
.opinion .el-select {
  position: absolute;
  z-index: 999;
  top: 50px;
  height: 110px;
  opacity: 0;
}
.opinion >>> textarea {
  font-family: Microsoft Yahei;
  font-size: 14px;
  margin-top: 15px;
}
.expertRev {
  margin-top: 20px;
}
.el-form >>> .el-form-item .el-form-item__label {
  padding: 0;
}
.expertRev >>> .el-form-item__content {
  position: initial;
}
.expertRev .el-button {
  position: absolute;
  top: 10px;
  right: 20px;
  padding: 8px 10px;
  font-size: 13px;
}
/* 专家审核 end*/
</style>